<!doctype html>
<html><head>
<meta charset="UTF-8">
    <meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1.0, maximum-scale=1.0">
	<style type='text/css'>
		html { font-family:Helvetica; color:#222; }
		h1 { color:steelblue; font-size:24px; margin-top:24px; }
		button { margin:0 3px 10px; font-size:12px; }
		.logLine { border-bottom:1px solid #ccc; padding:4px 2px; font-family:courier; font-size:11px; }
	</style>
	<script type="text/javascript" src="http://apps.bdimg.com/libs/jquery/2.1.1/jquery.min.js"></script>
</head><body>
	<!-- <h1>WebViewJavascriptBridge Demo</h1> -->
	<div id='buttons'>��ť���ϵĹ����˺ö��˿����ǵĹ�ʢ���Ļ����ǿͻ��˰��ǿ��ȹ�˵���ᵽ���ϵĿ޹����˵ĺŵ�</div> <div id='log'></div>
	

<script>
    function connectWebViewJavascriptBridge(callback) {
        if (window.WebViewJavascriptBridge) {
            callback(WebViewJavascriptBridge)
        } else {
            document.addEventListener('WebViewJavascriptBridgeReady', function() {
                                      callback(WebViewJavascriptBridge)
                                      }, false)
        }
    }
</script>


<script>
connectWebViewJavascriptBridge(function(bridge) {
                               bridge.init(function(message, responseCallback){})})
</script>


<script>
$('#buttons').click(function()
                    {
                    

                  window.ncp.onShare("asdsa","sdsa",10);
                    
                    })
</script>

</body></html>

















